package com.gouzaofangfa;

import java.util.Scanner;

public class TableTest {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("依次输入一个冷菜，一个热菜，一个汤名");
        String coldFood = sc.next();
        String hotFood = sc.next();
        String soup = sc.next();
        Table table = new Table(coldFood,hotFood,soup);
        System.out.println("冷菜：" + table.getColdFood());
        System.out.println("热菜：" + table.getHotFood());
        System.out.println("汤：" + table.getSoup());
        System.out.println(table.toString());
    }
}
